const INPUT_CHANGE = 'input_change'
const ADD_ITEM = 'addItem'
const DELETE_ITEM = 'deleteItem'
const GET_LIST = 'getTodoList'
export {INPUT_CHANGE, ADD_ITEM, DELETE_ITEM, GET_LIST}

const getName = (name) => {return {name}}
//省略箭头函数和return关键字的写法,返回对象需要()包裹
const getName2 = (name) => ({name})
const getName3 = (name) => name + '123zqf123'
export {getName, getName2, getName3}
